package com.cc.micro.controller;

import com.cc.micro.api.service.BidInfoService;
import com.cc.micro.api.service.LoanInfoService;
import com.cc.micro.api.service.PlatBaseInfoService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.data.redis.core.StringRedisTemplate;

import javax.annotation.Resource;

/**
 * @author CC
 * time 2023-07-02
 * description
 */
public class BaseController {
    @DubboReference(interfaceClass = PlatBaseInfoService.class,version = "1.0")
    protected PlatBaseInfoService platBaseInfoService;
    @DubboReference(interfaceClass = LoanInfoService.class,version = "1.0")
    protected LoanInfoService loanInfoService;
    @Resource
    protected StringRedisTemplate stringRedisTemplate;
    @DubboReference(interfaceClass = BidInfoService.class,version = "1.0")
    protected BidInfoService bidInfoService;

}
